package com.mall.order;

import com.mall.order.dto.*;

/**
 * 订单查询业务
 */
public interface OrderQueryService {

    /**
     * 查看用户所有订单
     * @param request
     * @return
     */
    OrderListResponse getOrdersByUserId(OrderListRequest request);

    /**
     * 查看订单详情
     * @param request
     * @return
     */
    QueryOrderResponse getOrderById(OrderDetailRequest request);
}
